package com.daiyang.lottery.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class CreateUserByActivityParam implements Serializable {

    /**
     * 用户Id
     */
    @NotNull(message = "用户Id不能为空")
    private Long userId;
    /**
     * 用户姓名
     */
    @NotBlank(message = "用户姓名不能为空")
    private String userName;
}
